Page {
  background: #f8f8f8;
}

.login-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  padding: 40rpx 30rpx;


  .wechat-auth {
    width: 100%;
    height: 90rpx;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20rpx;
    border: none;
    border-radius: 45rpx;
    background: linear-gradient(left, rgb(89, 234, 233) 27%, rgb(131, 231, 218) 44%, rgb(69, 150, 216) 88%);
    background: -o-linear-gradient(left, rgb(89, 234, 233) 27%, rgb(131, 231, 218) 44%, rgb(69, 150, 216) 88%);
    background: -ms-linear-gradient(left, rgb(89, 234, 233) 27%, rgb(131, 231, 218) 44%, rgb(69, 150, 216) 88%);
    background: -moz-linear-gradient(left, rgb(89, 234, 233) 27%, rgb(131, 231, 218) 44%, rgb(69, 150, 216) 88%);
    background: -webkit-linear-gradient(left, rgb(89, 234, 233) 27%, rgb(131, 231, 218) 44%, rgb(69, 150, 216) 88%);
    color: #fff;
    font-size: 32rpx;
    font-weight: 500;
    margin-top: 120rpx;
    transition: opacity 0.2s;

    &:disabled {
      opacity: 0.7;
      cursor: not-allowed;
    }

    .auth-icon {
      border-radius: 100rpx;
      background-color: #ffffff;
      width: 50rpx;
      height: 50rpx;

    }

    .auth-text {
      line-height: 1;
    }
  }

  .loading-mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(66, 185, 131, 0.15);
    /* 半透明微信绿 */

    .loading-dot {
      width: 8rpx;
      height: 8rpx;
      margin: 0 6rpx;
      background: #42b983;
      border-radius: 50%;
      animation: loading 1s infinite;

      &:nth-child(2) {
        animation-delay: 0.3s;
      }

      &:nth-child(3) {
        animation-delay: 0.6s;
      }
    }
  }

  /* 小屏幕适配 */
  @media (max-width: 375px) {
    padding: 30rpx 20rpx;

    .wechat-auth {
      height: 80rpx;
      font-size: 28rpx;
      margin-top: 80rpx;
    }
  }
}

@keyframes loading {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12rpx);
  }
}